<? include(APPPATH . "views/admin/header.php"); ?>
<? include(APPPATH . "views/admin/sidebar.php"); ?>

<div class="span10">
    <h1>Novo Parceiros</h1>
    <form class="form-horizontal" action="<?= site_url("parceiros/novo") ?>" method="post" enctype="multipart/form-data">
        <fieldset>
            <legend>Dados Básicos</legend>
            <div class="control-group">
                
              <label class="control-label" for="input-nome">Nome:</label>
              <div class="controls">
                <input type="text" class="input-xlarge" id="input-nome" name="nome" value="<?= isset($_POST["nome"])?$_POST["nome"]:"" ?>">
              </div>
            </div>            
            <div class="control-group">
              <label class="control-label" for="input-logo">Logo:</label>
              <div class="controls">
                <input class="input-file" id="input-logo" type="file" name="logo">
                <p class="help-block">Imagem no formato .png com dimensão 200x200px.</p>
              </div>
            </div>
            <div class="form-actions">
              <button type="submit" class="btn btn-primary btn-madmin">Salvar</button>
            </div>
          </fieldset>
    </form>
</div>
<? include(APPPATH . "views/admin/footer.php"); ?>